export interface MenuItem {
    id: string;
    parentId: string;
    menuName: string;
    menuCode: string;
    url: string;
    sortOrder: number;
    icon: string;
    isDisplay: number;
    description: string;
    status: number;
    createBy: string;
    createTime: string;
    updateBy: string;
    updateTime: string;
    children: MenuItem[];
    checked: boolean;
}

export interface MenuRequest {
    id?: string;
    parentId: string;
    menuName: string;
    menuCode: string;
    url: string;
    sortOrder: number;
    icon: string;
    isDisplay: number;
    description: string;
    status: number;
}

export interface MenuTreeResponse {
    code: number;
    msg: string;
    data: MenuItem[];
}